package light.mvc.pageModel.workflow;

import java.util.Date;

import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import light.mvc.model.workflow.TformTemplate;

/**
 * 流转的表单文档
 * 
 * @author tyg
 * 
 */
public class Form {


	/** 表单状态常量：审批中 */
	public static final String STATUS_RUNNING = "审批中";

	/** 表单状态常量：已通过 */
	public static final String STATUS_APPROVED = "已通过";

	/** 表单状态常量：未通过 */
	public static final String STATUS_REJECTED = "未通过";

	private Long id;
	private Long formTemplateId;// 所使用的文档模板
	private String loginName;// 申请人
	private String name;// 申请人

	private String title;// 标题
	private Date applyTime;// 申请时间
	private String path;// 文档的存储路径
	private String status; // 当前的状态
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getFormTemplateId() {
		return formTemplateId;
	}
	public void setFormTemplateId(Long formTemplateId) {
		this.formTemplateId = formTemplateId;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getApplyTime() {
		return applyTime;
	}
	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
